import { types } from "mobx-state-tree"
import { HomeStoreModel } from "./home"
import { LoginStoreModel } from "./login"
import { GlobalStoreModel } from "./global"

export const RootStoreModel = types.model("RootStore").props({
  homeStore: types.optional(HomeStoreModel, {}),
  loginStore: types.optional(LoginStoreModel, {}),
  globalStore: types.optional(GlobalStoreModel, {})
})
